-
Notifications
You must be signed in to change notification settings - Fork 82
[GEN][ZH] Fix black terrain in World Builder without RTS_DEBUG #1190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4455050
to
c369e8e
Compare
This fix works as intended for me. |
c369e8e
to
d204b44
Compare
Rebased on latest main. |
What are the necessary changes to have WB work in release (without RTS_INTERNAL)? I feel like that should also be a target goal. |
If you know of more things broken in Release World Builder, please create a report. I only noticed the Terrain and System Maps thing. |
Also tested and works as advertised |
…ine include interface library
d204b44
to
66b5e72
Compare
Rebased. Replicated in Generals with conflicts.
|
This needs an approval. |
Wish I could |
By the way, this change also makes the release WorldBuilder work as expected. I think the only issues was no handling of shroud clearing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look ok; tested with ZH WB and works as intended.
# Conflicts: # Generals/Code/GameEngine/Source/Common/CommandLine.cpp # Generals/Code/GameEngine/Source/Common/GlobalData.cpp # Generals/Code/GameEngine/Source/GameClient/GameClient.cpp # Generals/Code/GameEngine/Source/GameClient/InGameUI.cpp # Generals/Code/GameEngineDevice/Source/W3DDevice/Common/System/W3DRadar.cpp # Generals/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DScene.cpp # Generals/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DView.cpp # Generals/Code/Tools/WorldBuilder/src/WorldBuilder.cpp # GeneralsMD/Code/GameEngine/Source/Common/CommandLine.cpp # GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp # GeneralsMD/Code/GameEngine/Source/GameClient/GameClient.cpp # GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp # GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/Common/System/W3DRadar.cpp # GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/BaseHeightMap.cpp # GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DScene.cpp # GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DView.cpp # GeneralsMD/Code/Tools/WorldBuilder/src/WorldBuilder.cpp
Main merged. |
This change fixes the black terrain in World Builder without
RTS_DEBUG
. This issue happens because all code aroundGlobalData::m_shroudOn
is compiled out withoutRTS_DEBUG
, which enables shroud and turns the world black.TODO